package net.ifilm.entity;

/**
 * <code>FilmType</code>类是对表filmtype映射
 *
 * User: <a href="wangjunneil@gmail.com">wangjun</a>
 * Date: 12-11-20 下午8:47
 */
public class FilmType {

    /**
     * 电影类型ID
     */
    private int filmTypeId;

    /**
     * 类型名称
     */
    private String typeName;

    // -------------------------------------------------------------- setter/getter method

    public int getFilmTypeId() {
        return filmTypeId;
    }

    public void setFilmTypeId(int filmTypeId) {
        this.filmTypeId = filmTypeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("FilmType: [id=").append(filmTypeId).append(",typeName=")
                .append(typeName).append("]");
        return sb.toString();
    }
}
